<?php
	session_start(); 
	$pid=$_GET['pid'];
	
	foreach($_SESSION['cart'] as $key=>$value){
		if($value['pid']!==$pid){
			$arr[]=$value;
		}

	}
	$_SESSION['cart']=$arr;
	//print_r($arr);

	header("location:./gouwuche.php")



?>